/*Note:Your choice is C IDE*/
#include "stdio.h"
void main(){
    int n, a, b, c, y;
    printf("请输入一个三位数:");
    scanf("%d",&n);//123
    a=n%10;
    b=n/10%10;
    c=n/100;
    y=a*100+b*10+c;
    printf("逆序数为:%d",y);
}